package com.shure;

import com.youbenzi.md2.export.FileFactory;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.UnsupportedEncodingException;

public class Test {

    public static void main(String[] args) {
        try {
            FileFactory.produce(new File("/Users/shure/Downloads/markdown1.md"), "/Users/shure/Downloads/test1.docx");
        } catch (FileNotFoundException e) {
            throw new RuntimeException(e);
        } catch (UnsupportedEncodingException e) {
            throw new RuntimeException(e);
        }
    }
}
